<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of class
 *
 * @author ww
 */
class ActionFactory {
    public static function createError($code) {
        $action = new Action('Error::show', array($code));
        $action->resetNeedPostProcessing();
        return $action;
    }
}
?>
